package com.vip.common.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ASUS
 * @Date 2025/3/3 13:59
 * @Descripition 通用分页返回对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "通用分页返回对象")
public class CommonPageResponse {
    @Schema(description = "当前页码")
    private Integer pageNum=1;
    @Schema(description = "每页显示条数")
    private Integer pageSize=10;
    @Schema(description = "总条数")
    private Long total;
    @Schema(description = "总页数")
    private Integer totalPages;
    @Schema(description = "分页数据")
    private Object data;
}
